export const BASE = 'PackageSyntheticDrawCardPa_';

export enum Command {
  //通用修改数据方法
  commonChange = 'PackageSyntheticDrawCardPa_commonChange',
  init = 'PackageSyntheticDrawCardPa_INIT',
  clean = 'PackageSyntheticDrawCardPa_CLEAN',
}

// oss地址
export const OSS_PATH_PREFIX = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/syntheticCard';

export const OSS_BASE_PATH_PREFIX = 'https://ruizhi-ipland.oss-cn-nanjing.aliyuncs.com/gameBase';

export const SYNTHETCI_SELECT_TASK = 'synthetic_select_task'; // 选择做任务

//0-商品 1-优惠券 2-魔力币 3-道具（暂无）4-卡片
// 结果奖励类型区分
export const GAME_RPICE_TYPE = {
  product: 0,
  ticket: 1,
  gold: 2,
  prop: 3,
  card: 4,
};

// 结果展示领取奖励的跳转
export const RESULT_TYPE = {
  // 礼品
  0: {
    url: '',
    label: '稍后您可以在个人中心-收藏柜里查看',
    thum: '',
    className: 'gift',
  },

  // 优惠卷
  1: {
    url: '/pages/package-A/customer/my-coupon/index',
    label: '稍后您可以在商城我的-优惠券里查看',
    thum: OSS_BASE_PATH_PREFIX + '/couponIcon.png',
    className: 'coupon',
  },

  // 魔力币
  2: {
    url: '',
    label: '您已获得魔力币,稍后去账户中查看',
    thum: OSS_BASE_PATH_PREFIX + '/goldIcon.png',
    className: 'gold',
  },
  3: {
    url: '/pages/package-I/backpack/index',
    label: '您已获得道具,稍后去账户中查看',
    thum: OSS_BASE_PATH_PREFIX + '/propIcon.png',
    className: 'prop',
  },
  4: {
    url: '/pages/package-I/syntheticCardLibrary/index',
    label: '您已获得卡片,稍后去账户中查看',
    thum: '',
    className: 'gift',
  },
};

// 游戏类型
export const GAME_TYPE = 4; //0-魔力金币雨，1-魔力抽盲盒，2-魔力赏，3-魔力抓娃娃，4-魔力抽抽卡，5-刮刮乐

export const GAME_SHARE_TITLE = '摸鱼集热门IP，领取周边';

// 任务的完成条件
export const TASK_CONDITION_TYPE = {
  browsePage: 0, //浏览页面
  share: 1, // 分享
  game: 2, // 完成游戏
  shopping: 3, // ipshop消费
};

export const CODE_SUCCESS = 'K-000000';

export const SYNTHETCI_SELECT_PROP_STORE = 'synthetic_select_prop'; // 选择的道具

export const NAVBAR_TITLE = "魔力抽抽卡"